﻿
using System;
using System.Collections.Generic;
namespace LantinxShare.LBS
{
    public class GTask : CommonEntity
    {
        public GUser User { get; set; }
        public GMark Mark { get; set; }
        public DateTime StartDate { get; set; }
        public DateTime EndDate { get; set; }
        public DateTime FinishedDate { get; set; }
        public GTaskType TaskType { get; set; }
        public int Reason { get; set; }
        public List<GWorkItem> WorkItem { get; set; }
    }
    /// <summary>
    /// 默认,打开,关闭,取消,拒绝
    /// </summary>
    public enum GTaskType
    {
        /// <summary>
        /// 默认
        /// </summary>
        Default = -1,
        /// <summary>
        /// 打开
        /// </summary>
        Open = 1,
        /// <summary>
        /// 关闭
        /// </summary>
        Close = 2,
        /// <summary>
        /// 取消
        /// </summary>
        Cancel = 3,
        /// <summary>
        /// 拒绝
        /// </summary>
        Reject = 4,

       
    }
}
